package com.gjm.product.service.impl;

import com.gjm.product.dao.mapper.ProductMapper;
import com.gjm.product.dao.objectdata.ProductInfo;
import com.gjm.product.service.ProductService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductService {

    @Resource(name = "productMapper")
    private ProductMapper productMapper;

    @Override
    public ProductInfo getProductInfoById(Integer productId) {
        return productMapper.getProductInfoById(productId);
    }
}
